import Layout from '@/layout/index.vue'

export default [
  {
    path: '/',
    component: Layout,
    children: [
      {
        name: 'customerAmount',
        path: '/statistics/customerAmount',
        component: () => import('@/views/statistics/customerAmount.vue'),
        meta: {
          requiresAuth: true,
          title: '客户订单金额统计表'
        }
      },
      {
        name: 'customerQuantity',
        path: '/statistics/customerQuantity',
        component: () => import('@/views/statistics/customerQuantity.vue'),
        meta: {
          requiresAuth: true,
          title: '客户订单数量统计表'
        }
      },
      {
        name: 'productQuantity',
        path: '/statistics/productQuantity',
        component: () => import('@/views/statistics/productQuantity.vue'),
        meta: {
          requiresAuth: true,
          title: '产品累计产量统计表'
        }
      },
      {
        name: 'saleOrderQuantity',
        path: '/statistics/saleOrderQuantity',
        component: () => import('@/views/statistics/saleOrderQuantity.vue'),
        meta: {
          requiresAuth: true,
          title: '销售订单数量统计表'
        }
      },
      {
        name: 'shiftOutput',
        path: '/statistics/shiftOutput',
        component: () => import('@/views/statistics/shiftOutput.vue'),
        meta: {
          requiresAuth: true,
          title: '班次产量统计表'
        }
      },
      {
        name: 'customerPayment',
        path: '/statistics/customerPayment',
        component: () => import('@/views/statistics/customerPayment.vue'),
        meta: {
          requiresAuth: true,
          title: '客户付款统计表'
        }
      }
    ]
  }
]
